def showSu():
    a = 0
    while a:
        if a > 0:
            print('aaaaa')
            break
        a -= 1
    else:
        print('啪啪啪')


# showSu()
for i in range(5):
    if i == 2:
        break
    print(i)
else:
    print('Iterated over everything :)')
a = 5
while a:
    print(a)
    a -= 1
else:
    print('over')

try:
    int(1)
except ValueError as r:
    print('error:'+str(r))
else:
    print('number')


try:
    with open('jjjj.txt','w') as f:
        for each in f:
            print(each)
except OSError as reason:
    print('出错啦%s' % reason)